﻿using System;
using Microsoft.EntityFrameworkCore;
using IotWeek3Day17.Models;

namespace IotWeek3Day17.EFCore
{
    public class ProDbContext : DbContext
    {
        public ProDbContext(DbContextOptions<ProDbContext> options) : base(options)
        {
        }

        public DbSet<Product>  Products { get; set; }
        public DbSet<ProductType>  ProductTypes { get; set; }
    }
}
